import 'dart:ui';
import 'package:hexcolor/hexcolor.dart';

class KaL_Config {
  static const String KaL_slug = 'austria-lotto';
  static const String KaL_address = 'https://api.lotteries.guru';
  static const String KaL_appName = 'Austria Lotto';
  static const String KaL_channelid = '20010';
  static const String KaL_packageName = 'com.austriaLotto.guru'; //包名：换了App需替换
  static const String KaL_channelName = 'AustriaLottoJSChannel';
  static const String KaL_feedbackEmail = 'support@lotteries.guru';
  static const String KaL_policy =
      '$KaL_address/index.php/Index/purePrivacyPolicy?product=$KaL_appName&email=support%40lotteries.guru';
  static const String KaL_terms =
      '$KaL_address/index.php/Index/pureTermsAndConditions?product=$KaL_appName&email=support%40lotteries.guru';

  ///
  static const int regularNumCount = 6; //常号个数
  static const int extramNumCount = 0; //特号个数
  static const int numberTotles = regularNumCount + extramNumCount; //号码总个数
  static const int regularNumMax = 45; //常码最大
  static const int extramNumMax = 0; //特码最大
  static const int regularNumMin = 1; //常码最小
  static const int extramNumMin = 0; //特码最小

  ///
  static const int keralaTicketNumCount = 7; //常号个数

  ///
  static List firstDigitLetters = [
    {'code': 'A', 'isRight': false},
    {'code': 'B', 'isRight': false},
    {'code': 'C', 'isRight': false},
    {'code': 'D', 'isRight': false},
    {'code': 'E', 'isRight': false},
    {'code': 'F', 'isRight': false},
    {'code': 'G', 'isRight': false},
    {'code': 'H', 'isRight': false},
    {'code': 'J', 'isRight': false},
    {'code': 'K', 'isRight': false},
    {'code': 'L', 'isRight': false},
    {'code': 'M', 'isRight': false},
    {'code': 'N', 'isRight': false},
    {'code': 'O', 'isRight': false},
    {'code': 'P', 'isRight': false},
    {'code': 'R', 'isRight': false},
    {'code': 'S', 'isRight': false},
    {'code': 'T', 'isRight': false},
    {'code': 'U', 'isRight': false},
    {'code': 'V', 'isRight': false},
    {'code': 'W', 'isRight': false},
    {'code': 'X', 'isRight': false},
    {'code': 'Y', 'isRight': false},
    {'code': 'Z', 'isRight': false},
  ];

  ///
  static List otherDigitNums = [
    {'code': '0', 'isRight': false},
    {'code': '1', 'isRight': false},
    {'code': '2', 'isRight': false},
    {'code': '3', 'isRight': false},
    {'code': '4', 'isRight': false},
    {'code': '5', 'isRight': false},
    {'code': '6', 'isRight': false},
    {'code': '7', 'isRight': false},
    {'code': '8', 'isRight': false},
    {'code': '9', 'isRight': false},
  ];

  ///
  static const List digitsStringArr = [
    '1st',
    '2nd',
    '3rd',
    '4th',
    '5th',
    '6th',
    '7th',
  ];

  ///
  static const List weekdays = [
    'All',
    'Mon',
    'Tue',
    'Wed',
    'Thu',
    'Fri',
    'Sat',
    'Sun'
  ];

  //主题色
  static Color KaL_MainColor = HexColor('#2c378c'); //
  static Color KaL_themeColor_HL = HexColor('#2c378c'); //主题深色
  static Color KaL_themeColor_N = HexColor('#2c378c'); //主题浅色
  static Color KaL_pageBgColor = HexColor('#f3f3f3');
  static Color KaL_yellowColor = HexColor('#FFBF42'); //黄
  static Color KaL_extramNumColor = HexColor('#FF0000'); //
  static Color KaL_extramNumTitleColor = HexColor('#ffffff'); //
  static Color KaL_extramNumBoardColor = HexColor('#FF0000'); //

  static Color KaL_navgatBarColor = HexColor('#2c378c');
  static Color KaL_navgatBarTitleColor = HexColor('#ffe101');
  static Color KaL_textColor_black = HexColor('#ffe101');
  static Color KaL_jackpottextColor_w = HexColor('#ffffff');
}
